<?php
    $connectionquestions = connect($config);
    
    $bindParamquest = array('id' => 1);
    
    $queryStringquest = "SELECT * FROM `question` WHERE `Apruft` = :id";

    $qarray = query($queryStringquest, $bindParamquest, $connectionquestions);

    //echo "<pre />";
    //print_r($qarray);
    //echo "<pre />";
      
    $ct = count($qarray);
    
    for ($i = 0; $i < $ct; $i++)
    {
        echo "<p>".$qarray[$i][1]." _____ ".$qarray[$i][2]." _____ ".$qarray[$i][3]."</p>";
        echo "<p>".$qarray[$i][4]."</p>";
        echo "<p>".$qarray[$i][6]."</p>";
        echo "<p><a href='http://lsc/index.php?admin=".$qarray[$i][0]."'> edit </a></p>
";
        echo "<hr />";
       
    }

?>